Welcome
Guest
, you are in:
<root>
Elements
•
Login
EventIDE Wiki
Navigation
¶
Main Page
Random Page
Create a new Page
All Pages
Categories
Navigation Paths
Administration
File Management
Create Account
Search the wiki
Back
ROI Element
Modified on 2018/08/03 01:39
by
Administrator
Categorized as
Base Elements
,
Elements
,
Input Registration
<div style="margin-right: 10px; margin-left: 16px; margin-bottom:10px; float: right; width: 500px; overflow: hidden; height: auto; padding: 0px; background: #fafafa; background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#fafafa));background: -moz-linear-gradient(top, #fbfbfb, #fafafa);border: 1px dashed #ddd;box-shadow: 0 0 0 3px #fff, 0 0 0 5px #ddd, 0 0 0 10px #fff, 0 0 2px 10px #eee;"> == Summary == {s:Element Info Panel | title=ROI | category=Input Registration | icon=[image|Element Icon|{UP(ROI Element)}ROI-Element-Icon.png] | author= OkazoLab | addin= Base Layer | scope= Parent event | usage= Stimulus screen | ownsnippets= None } == Properties == {| |- ! Name ! Description ! Constraints ! Type ! On<br/>runtime<br/>change |- | colspan="5" bgcolor="#AADDDDD" | Control |- | Is Enabled | If set to false the element is completely omitted when the experiment is run | {s:atDesign} | Boolean | |- | Title | Title of the element | {s:atDesign} | String | |- | colspan="5" bgcolor="#AADDDDD" | Settings |- | Area Shape | Defines the shape of the monitored area on the screen | {s:atDesign} | stTarg.. | |- | Tracking Device | Defines which of the radar providers is used for positional input in this event. In each experiment, the radar providers includes the system mouse and all tracker elements. The selected radar provider controls the Radar Point property and input to the AOI elements in this event. When 'Auto' is chosen, the first tracker element is picked up. If there are no tracker elements, the system mouse is used by default. | {s:atDesign} | String | |- | Border Visible | Defines whether a border is shown around the element's viewport at runtime | {s:atNormal} | Boolean | |- | Triggering Mode | Defines the triggering mode of the element, namely, what pattern of tracking positions is detected and signaled by the element | {s:atDesign} | stTarg.. | |- | Fixation Duration | Defines the minimal fixation duration (in ms) that triggers the element, when its triggering mode is set to the “fixation”. For other triggering modes, the property value is ignored. | {s:atNormal} | clTime | |- | colspan="5" bgcolor="#AADDDDD" | Runtime Status |- | Is Over | Indicates, whether the tracking position is currently inside of the region of interest | {s:atNormal} | Boolean | |- | Last Crossing Direction | Indicates the last crossing direction relatevely to the ROI boundaries. The returned code means: 0- no crossing yet, 1- crossing into the ROI, 2- crossing out of the ROI. | {s:atStatus} | Int32 | |- | Is Triggered | Indicates whether the element gets triggered in response to detected pattern of tracking positions, set by the Triggering Mode property. | {s:atNormal} | Boolean | |- | Triggering Time | Returns local event time, when the element has been triggered. | {s:atStatus} | clTime | |- | Dwell Time | Returns the accumulated time of tracking positions being inside of the ROI area. The value can grow until the event's offset, independently of the element's triggering state. | {s:atNormal} | clTime | |- | colspan="5" bgcolor="#AADDDDD" | Visual Appearance |- | Alpha Masking | Defines, whether the visual content is used to create an opacity mask on the event surface. If masking is on, the content's pixel luminance (or, its inverse) defines transparency within element's viewport. The alpha masking allows, for example, create transparent holes on the event surface. | {s:atDesign} | Int32 | |- | AntiAliasing | if true, the rendered content will be antialiased for smoother visual appeariance. If false, rendering will be authentic to its source, e.g. a bitmap. | {s:atNormal} | Boolean | |- | Position | Defines a position of the rendering viewport on the screen | {s:atNormal} | clPoint | |- | Size | Defines a size of the element's rendering viewport on the screen | {s:atNormal} | clSize | |- | Z Order | Indicates Z Order of the element on the given event | {s:atStatus} | Int32 | |- | Pivot Point | Defines alignment of the pivot point (or, element's position) relative to element's rendering area. The pivot point sets the center of element's rotation and scale directions. | {s:atNormal} | stAlig.. | |- | Visible | Defines whether the element is visible | {s:atNormal} | Boolean | |- | colspan="5" bgcolor="#AADDDDD" | Effects |- | Transparent Color | The color of the original pixels of rendered content that will be set as transparent | {s:atNormal} | stColor | |- | Transparent Tolerance | Tolerance ratio for choosing colors that become transparent. Zero means that effect is not applied, 1 denotes that all colors will become trasparent | {s:atNormal} | Int32 | |- | Color Mask | Produces a multiplicative combination of the original pixels and the selected mask color (except the alpha channel). The effect emulates a look through a colored glass. White or transparent mask color dont change the original pixels | {s:atNormal} | stColor | |- | Opacity | Opacity of the rendered content | {s:atNormal} | Int32 | |- | Contrast | Contrast of the rendered content | {s:atNormal} | Int32 | |- | Brightness | Brightness the rendered content | {s:atNormal} | Int32 | |- | Saturation | Saturation of the rendered content | {s:atNormal} | Double | |- | Pixelation | Pixelation of the rendered content | {s:atNormal} | Int32 | |- | Blurring | The radius used in the gaussian blur of rendered content, as a pixel-based factor. The default is 0 which means no blurring. | {s:atNormal} | Int32 | |- | Scrambling | | {s:atNormal} | Double | |- | Scrambling Grid Size | Defines a size of the scrambling grid | {s:atNormal} | clSize | |- | colspan="5" bgcolor="#AADDDDD" | Positional Jitter |- | Reset Jitter Now | Runtime command that resets the positional jitter. | {s:atRuntimeAction} | Boolean | |- | Current Jitter | Returns the current jitter | {s:atStatus} | clPoint | |- | Jitter Range | Defines a possible range for the random jitter. The range is centered to the position of the element. | {s:atNormal} | clSize | |- |} == == </div> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> '''ROI Element''' evaluates online tracking data (e.g. the gaze or mouse positions) relatively to a selected region on the screen. The element can also detect specific tracking patterns, e.g perpetual fixations and saccades in and out of the region, and collect timing statistics of such patterns.<br><br> {TOC} == Practical use == In the simplest case, the ROI element can be used to report whether a tracking position is inside of the selected screen region. For that purpose, monitor the "Is Over" property of the element at runtime. Another property, "Viewing Time", returns the accumulative time of the tracking position being inside of the selected region between the onset and offset of element's parent event. In addition, the ROI element can automatically detect and signal the common patterns in a positional data. When the pattern is detected, the element gets triggered. Then the triggering time is recorded and Triggered snippet is invoked, if it's defined. The ROI element can work in one of three triggering modes: === On the first spot === In this mode the element detects when a tracking position input enters the monitored screen region for the first time since the onset of the parent event. === On perpetual fixation === In this mode the element detects when s tracking position enters the monitored region and stays there for a certain time period. The duration of that period is defined by the<nowiki> [Fixation duration] </nowiki>property of the AOI element. The element is not triggered, if any of tracking position goes out of the region before the period is expired. However, the element can be triggered later, if tracking positions returns and stay in the region again. === On fixation break === In this mode the element detect a moment when the input position leaves the element's region (assuming that it has been inside before onset of the parent event). This mode is handy for when breaks in previously archived fixation have to detected. You can choose only between the rectangular or elliptical shape for the "element's region. It's sufficient for most of scenarios but, however, you can always create radar areas with complex shapes by combining several radar area elements in the same event. In this case, you may need to check the states of multiple radar area elements manually, in your snippets. == Notes == * The ROI element can be triggered only once during the parent event. If you need multiple triggering, redesign your experiment flow (e.g. use several events) or reactivate the parent event. Alternatively, you can still read 'Is Over' property of the element that provides a status of positional input even after the element has been triggered. * the ROI element can be affected by the solar visual transformations, if they are applied to the parent event. In such cases, relations between positional input and watched areas can be incorrectly estimated. Always place radar area elements in events that have no such transformations. * if you have several active ROI elements that monitor the same screen area, they can be triggered at the same time.
Meta Keywords:
Meta Description:
Change Comment:
ScrewTurn Wiki
version 5.2.0.8. Some of the icons created by
FamFamFam
.